package com.zjy.org.service;

import com.zjy.basic.service.BaseService;
import com.zjy.org.domain.Shop;
import com.zjy.org.domain.ShopAuditLog;
import com.zjy.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-11-01
 */
public interface ShopService extends BaseService<Shop> {
    void settlement(Shop shop);

    void pass(ShopAuditLog log) throws MessagingException;

    void reject(ShopAuditLog log) throws MessagingException;

    List<ShopDto> getCountByState();

    void active(Shop shop);
}
